﻿<?xml version="1.0" encoding="utf-8"?>
<DbDataRequest connection="$ArticleDBConnection$" type="$ArticleDbType$" defaultFormatter="int from maxPos">
	<SqlStatement hasResults="true">
		SELECT MAX(position) as maxPos FROM ArticleSet WHERE groupId=@groupId
	</SqlStatement>
	<Param name="groupId" type="UniqueIdentifier"/>
</DbDataRequest>